package com.fingard.dsp.bank.reqrespobj.sendsmscode;

import com.fingard.dsp.bank.reqrespobj.ReqRespHeader;
import com.fingard.dsp.bank.reqrespobj.RetAtsBase;
import com.fingard.dsp.bank.reqrespobj.sendsmscode.detail.RetAtsCheckSmsCodeDetail;
import com.fingard.xml.XmlTextWriter;

/**
 * Created by F on 2018/7/9.
 */
public class RetAtsCheckSmsCode extends RetAtsBase {

    public RetAtsCheckSmsCode(ReqRespHeader header){
        retHeader = header;
        retXmlWriter = new XmlTextWriter();
    }

    public void writeRetDetail(RetAtsCheckSmsCodeDetail detail){
        writeStart();
        detail.writeToXml(retXmlWriter);
        writeEnd();
    }
}
